aboutsummaryrefslogtreecommitdiff
path: root/src/app/kdrama/[id]/buttons.jsx
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-04-26 23:52:18 +0530
committerreal-zephex <[email protected]>2024-04-26 23:52:18 +0530
commit1da0ad8fa76b9d66e30c7e784e2dcaac061d9bb0 (patch)
treef5068e60287800cfabf44bb71116a794d1759037 /src/app/kdrama/[id]/buttons.jsx
parentUI tweaks for the manga page (diff)
downloaddramalama-1da0ad8fa76b9d66e30c7e784e2dcaac061d9bb0.tar.xz
dramalama-1da0ad8fa76b9d66e30c7e784e2dcaac061d9bb0.zip
minor ui fix
Diffstat (limited to 'src/app/kdrama/[id]/buttons.jsx')
-rw-r--r--src/app/kdrama/[id]/buttons.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/kdrama/[id]/buttons.jsx b/src/app/kdrama/[id]/buttons.jsx
index 53ae594..789c3ac 100644
--- a/src/app/kdrama/[id]/buttons.jsx
+++ b/src/app/kdrama/[id]/buttons.jsx
@@ -48,11 +48,11 @@ export default function EpisodesButtons({ data: episodeData, id: dramaId }) {
key={index}
onClick={(event) => {
test(item.id, dramaId, item.title);
- event.target.style.backgroundColor =
+ event.currentTarget.style.backgroundColor =
"var(--soft-purple)";
}}
>
- {item.title}
+ <p>{item.title}</p>
</button>
))}
</div>